package pers.agony.service;

import pers.agony.entity.PageResult;
import pers.agony.entity.QueryPageBean;
import pers.agony.pojo.CheckGroup;
import pers.agony.pojo.Setmeal;

import java.util.List;

/**
 * @author : Agony
 * @date : Created in 3:48 下午 2021/11/3
 * @Description:
 * @Modified By:
 * @version: : 1.0
 */
public interface SetmealService {

    PageResult findPage(QueryPageBean queryPageBean);

    List<Setmeal> findAll();

    void add(int[] checkgroupIds, Setmeal setmeal);

    Setmeal findOne(int id);

    List<Integer> findsetmealCheckGroupBysetmealId(int id);

    void update(Setmeal setmeal, int[] checkgroupIds);

    void delete(int id);
}
